package com.woniuxy.lrz.carlproject.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 商品sku表
 * </p>
 *
 * @author lrz
 * @since 2022-09-28
 */
@TableName("good_sku")
@ApiModel(value = "GoodSku对象", description = "商品sku表")
public class GoodSku implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "sku_id", type = IdType.AUTO)
    private Integer skuId;

    @ApiModelProperty("关联商品id")
    private Integer goodId;

    @ApiModelProperty("sku表")
    private String skuProperty;

    @ApiModelProperty("价格")
    private BigDecimal skuPrice;

    @ApiModelProperty("状态 ON上架 DOWN 下架")
    private String skuStatus;

    @ApiModelProperty("逻辑删除(0正常，1删除)")
    private Integer deleted;

    public Integer getSkuId() {
        return skuId;
    }

    public void setSkuId(Integer skuId) {
        this.skuId = skuId;
    }

    public Integer getGoodId() {
        return goodId;
    }

    public void setGoodId(Integer goodId) {
        this.goodId = goodId;
    }

    public String getSkuProperty() {
        return skuProperty;
    }

    public void setSkuProperty(String skuProperty) {
        this.skuProperty = skuProperty;
    }

    public BigDecimal getSkuPrice() {
        return skuPrice;
    }

    public void setSkuPrice(BigDecimal skuPrice) {
        this.skuPrice = skuPrice;
    }

    public String getSkuStatus() {
        return skuStatus;
    }

    public void setSkuStatus(String skuStatus) {
        this.skuStatus = skuStatus;
    }

    public Integer getDeleted() {
        return deleted;
    }

    public void setDeleted(Integer deleted) {
        this.deleted = deleted;
    }

    @Override
    public String toString() {
        return "GoodSku{" +
        "skuId = " + skuId +
        ", goodId = " + goodId +
        ", skuProperty = " + skuProperty +
        ", skuPrice = " + skuPrice +
        ", skuStatus = " + skuStatus +
        ", deleted = " + deleted +
        "}";
    }
}
